<%--
    Document   : categorias
    Created on : 01/06/2009, 22:05:09
    Author     : Leonardo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="com.csz.model.Categoria" %>
<%@page import="com.csz.model.Caracteristica" %>
<%@page import="java.util.List" %>
<%@page import="java.util.Iterator" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page isELIgnored="false"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Turismo RBC @ Barnabé Solutions :: Características ::</title>

        <script type="text/javascript">
            function somenteNumeros(evento) {
                if (evento.keyCode > 47 && evento.keyCode < 59) {
                    return true;
                } else {
                    return false;
                }
            }
        </script>

    </head>
    <body>
        <table align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td id="logoBiotipo">
                </td>
                <td valign="top">
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td id="nav" style="width:525px; background-image:url('imagem/header.jpg');">
                                <ul>
                                    <li class="selected" >
                                        <a href="">Home</a>
                                    </li>
                                    <li>
                                        <a href="">Login</a>
                                    </li>
                                    <li>
                                        <a href="">Paises</a>
                                    </li>
                                    <li class="last">
                                </ul>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" style="height:500px;">
                                <div id="body">
                                    <div id="body-top">
                                        <div id="body-bot">
                                            <img src="imagem/biotipo_logo.png" width="127" height="25" alt="login_logo" align="left"/>
                                            &nbsp;<br>
                                            &nbsp;<br>
                                            &nbsp;<br>
                                            <table>
                                                <form name="biotipo" action="ServletMain" method="POST">
                                                    <tr>
                                                        <td colspan="2">
                                                            <hr>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Nome:
                                                        </td>
                                                        <td align="left">
                                                            <input class="txtBox" type="text" name="txtNome" value=""/>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Idade:
                                                        </td>
                                                        <td align="left" class="lst">
                                                            <input class="txtBox" type="text" name="txtIdade" value="" onkeypress="return(somenteNumeros(event))"/>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" valign="top">
                                                            Sexo:
                                                        </td>
                                                        <td align="left" class="lst">
                                                            <input type="radio" name="gSexo" value="M" checked="checked" />Masculino
                                                            <input type="radio" name="gSexo" value="F" />Feminino
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <hr>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Acompanhado?
                                                        </td>
                                                        <td align="left" class="lst">
                                                            <input type="radio" name="gAcompanhado" value="S" checked="checked" />Sim
                                                            <input type="radio" name="gAcompanhado" value="N" />Não
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Quanto&nbsp;pretende&nbsp;gastar?
                                                        </td>
                                                        <td align="left" class="lst">
                                                            <input class="txtBox" type="text" name="txtQtdDinheiro" value="" onkeypress="return(somenteNumeros(event));" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <hr>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            &nbsp;
                                                        </td>
                                                        <td align="right">
                                                            <input type="submit" value="Vai!" name="btInserirValor" id="btInserirValor" class="button"/>
                                                        </td>
                                                    </tr>
                                                    <input type="hidden" name="action" value="gravarBiotipo" />
                                                </form>
                                                <tr>
                                                    <td colspan="2" align="left" class="error">
                                                        <c:choose>
                                                            <c:when test="${exception != ''}">
                                                                <c:out value="${exception}"></c:out>
                                                            </c:when>
                                                        </c:choose>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>
